package com.example.artwindow.config;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.security.SecurityScheme;

@OpenAPIDefinition(
		info = @Info(
				title = "art-window",
				version = "1.0",
				contact = @Contact(name = "EiEi")
		),
		security = @SecurityRequirement(name = "Authentication")
)
@SecurityScheme(
		paramName = "token",
		type = SecuritySchemeType.APIKEY,
		name = "Authentication",
		scheme = "bearer",
		bearerFormat = "JWT",
		in = SecuritySchemeIn.HEADER)
public class Swagger3Config {

}